@import "../../assets/styles/variables.scss";

.profile-container {
  padding: 0 30px;
  background-color: #f5f5f5;
  min-height: 100vh;
}

// 用户信息区域
.user-info-section {
  display: flex;
  align-items: center;
  padding: 40px 0;
  background-color: #fff;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-avatar-wrapper {
  margin: 0 30px;
}

.user-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid $primary-color;
}

// 头像占位符
.user-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid $primary-color;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: bold;
  color: $primary-color;
}

.user-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.user-name {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

.user-motto {
  font-size: 26px;
  color: #666;
  display: block;
}

// 模块通用样式
.module-section {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.module-title {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.title-dot {
  width: 10px;
  height: 30px;
  background-color: $primary-color;
  border-radius: 5px;
  margin-right: 15px;
}

.title-text {
  font-size: 32px;
  font-weight: bold;
  color: #333;
}

.see-all {
  position: absolute;
  right: 0;
  font-size: 26px;
  color: #999;
}

// 询价单模块
.module-content {
  display: flex;
  justify-content: space-between;
}

.module-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  padding: 16px 8px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  
  &:active {
    background-color: #f8f8f8;
  }
}

.item-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

// 图标占位符
.item-icon-placeholder {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-text {
  font-size: 28px;
  font-weight: bold;
  color: $primary-color;
}

.item-text {
  font-size: 26px;
  color: #666;
}

// 管理模块
.module-list {
  background-color: #fff;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid #f0f0f0;
}

.list-item:last-child {
  border-bottom: none;
}

.item-left {
  display: flex;
  align-items: center;
}

.item-right {
  color: #cccccc;
  font-size: 32px;
}

// 帮助中心
.help-section {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.help-item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 0;
}

.help-text {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-right: 20px;
}

.help-desc {
  font-size: 26px;
  color: #999;
  flex: 1;
}

.logout-btn {
  margin: 30px auto 0 auto;
  width: 60%;
  background: #ff4d4f;
  color: #fff;
  text-align: center;
  border-radius: 30px;
  padding: 18px 0;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,77,79,0.08);
  transition: background 0.2s;
}
.logout-btn:active {
  background: #d9363e;
}

.logout-btn-fixed {
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
} 